package com.ts.enterprise.module.user.query.page;


import com.ts.enterprise.common.query.BasePageParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;

/**
 *
 *
 * @author dean
 * @date 2021-07-14 16:14:40
 */
@Data
public class AdminCompanyPageQuery extends BasePageParam {

    @ApiModelProperty(value = "公司名称")
    private String companyName;

    @Min(0)
    @Max(1)
    @ApiModelProperty(value = "0 不是 1 是虚拟企业")
    private Integer isVirtual;

    @Min(0)
    @Max(1)
    @ApiModelProperty(value = "0 禁用 1 启用")
    private Integer enable;

    @Min(1)
    @Max(2)
    @ApiModelProperty(value = "1 最后操作正序 2 最后操作倒序")
    private Integer lastSort;

    @Min(1)
    @Max(2)
    @ApiModelProperty(value = "1 人数正序 2 人数倒序")
    private Integer userCountSort;
}
